P+ - Donkey Kong - Subroutine - 0x14ae0
- if (ChangeInAirGroundState)
- BoolVariableSetFalse { variable: LongtermAccessBool (0x71) }
- if ((LongtermAccessInt(CostumeID) GreaterThanOrEqual scalar(20)))
- IfStatementAnd ((LongtermAccessInt(CostumeID) LessThanOrEqual scalar(29)))
- if ((InternalConstantInt(Damage) GreaterThanOrEqual scalar(100)))
- ModelChanger { reference: 1, switch_index: 2, bone_group_index: 1 }
- if (not(BoolIsTrue LongtermAccessBool (0x49)))
- BoolVariableSetFalse { variable: LongtermAccessBool (0x47) }
- BoolVariableSetFalse { variable: LongtermAccessBool (0x48) }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x49) }
- FloatVariableSet { variable: LongtermAccessFloat (0xb2), value: 2 }
- else
- if ((InternalConstantInt(Damage) GreaterThanOrEqual scalar(50)))
- IfStatementAnd ((InternalConstantInt(Damage) LessThan scalar(100)))
- ModelChanger { reference: 1, switch_index: 2, bone_group_index: 0 }
- if (not(BoolIsTrue LongtermAccessBool (0x48)))
- BoolVariableSetFalse { variable: LongtermAccessBool (0x47) }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x48) }
- BoolVariableSetFalse { variable: LongtermAccessBool (0x49) }
- FloatVariableSet { variable: LongtermAccessFloat (0xb2), value: 1 }
- else
- ModelChanger { reference: 1, switch_index: 2, bone_group_index: -1 }
- if (not(BoolIsTrue LongtermAccessBool (0x47)))
- BoolVariableSetTrue { variable: LongtermAccessBool (0x47) }
- BoolVariableSetFalse { variable: LongtermAccessBool (0x48) }
- BoolVariableSetFalse { variable: LongtermAccessBool (0x49) }
- FloatVariableSet { variable: LongtermAccessFloat (0xb2), value: 0 }
- SyncWait(1.0)
- Goto(0x14ae0)